package gis.uzd_1;

import java.awt.BorderLayout;

import javax.swing.JPanel;

/**
 * Main application panel.
 * 
 * @version 0.1
 * @date 2010-04-15
 * @author Edmundas Matusevicius
 */
public class MainPanel extends JPanel {
    public MainPanel () {
        setLayout(new BorderLayout());
        
        setUpMenuBar();
        setUpDataPanel();
//        setUpZoomBar();
        setUpStatusBar();
    }
    
    private void setUpMenuBar() {
        GISMenu menuBar = new GISMenu();
        add(menuBar, BorderLayout.NORTH);
    }
    
    private void setUpDataPanel() {
        DataPanel panel = new DataPanel();
        add(panel, BorderLayout.CENTER);
    }
    
//    private void setUpZoomBar() {
//        ZoomBar zoomBar = new ZoomBar();
//        add(zoomBar, BorderLayout.EAST);
//    }
    
    private void setUpStatusBar() {
        StatusPanel panel = new StatusPanel();
        add(panel, BorderLayout.SOUTH);
    }
}
